DataSource for Entity Framework in WPF
C1.LiveLinq.LiveViews.Xml Namespace / XmlExtensions Class / Elements Method / Elements<T>(View<T>,XName) Method
The type of the objects in the source view, constrained to System.Xml.Linq.XContainer.
The source view.
The System.Xml.Linq.XName to match.

In This Topic
    Elements<T>(View<T>,XName) Method
    In This Topic
    Returns a view representing filtered collection of child elements of every element and document in the source view. Only elements that have a matching System.Xml.Linq.XName are included.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Elements(Of T As XContainer)( _
       ByVal view As View(Of T), _
       ByVal name As XName _
    ) As View(Of XElement)
    public static View<XElement> Elements<T>( 
       View<T> view,
       XName name
    )
    where T: XContainer

    Parameters

    view
    The source view.
    name
    The System.Xml.Linq.XName to match.

    Type Parameters

    T
    The type of the objects in the source view, constrained to System.Xml.Linq.XContainer.

    Return Value

    A view that contains a filtered collection of child elements of every element and document in the source view. Only elements that have a matching System.Xml.Linq.XName are included.
    See Also